const getters = {
	token: state => state.user?.sessionId ?? '',
	username: state => state.user?.userAccount ?? state.user?.userName,
	avatar: state => state.user?.avatar ?? '',
	feedbackSettings: state => +state.payrollSetInfo?.feedbackSettings === 0,
	autoConfirmationSettings: state => +state.payrollSetInfo?.autoConfirmationSettings === 0,
	autoConfirmationDays: state => +state.payrollSetInfo?.autoConfirmationDays ?? 0
}

export default getters
